<?php

declare(strict_types=1);

namespace App\Fastapp\Model;

use Hyperf\Database\Model\SoftDeletes;
use Mine\MineModel;

/**
 * @property int $id 主键
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 更新时间
 * @property string $deleted_at 删除时间
 * @property array $name 名称
 * @property string $icon icon
 * @property int $status 1正常
 * @property int $sort 排序
 * @property int $scene 场景101corp201game301ex
 * @property int $num 数量
 * @property int $view 浏览量
 */
class FastappTag extends MineModel
{
    use SoftDeletes,FileTrait;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'fastapp_tag';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'created_at', 'updated_at', 'deleted_at', 'name', 'icon', 'status', 'sort', 'scene', 'num', 'view'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'name' => 'array', 'status' => 'integer', 'sort' => 'integer', 'scene' => 'integer', 'num' => 'integer', 'view' => 'integer'];
}
